package test;

public class Const {
    public static void main(String[] args)
    {
        //字符串常量
        System.out.println("ABC");
        System.out.println("学习");
        System.out.println("369");

        //整数常量
        System.out.println(100);
        System.out.println(200);

        //浮点型常量
        System.out.println(2.12);
        System.out.println(3.14);

        //字符常量
        System.out.println('a');
        System.out.println('中');
        System.out.println(' ');

        //布尔常量
        System.out.println(true);
        System.out.println(false);
    }
}
